HEaaN.MLIR: An Optimizing Compiler for Fast Ring-Based Homomorphic Encryption
نویسندگان
چکیده
Homomorphic encryption (HE) is an scheme that provides arithmetic operations on the encrypted data without doing decryption. For Ring-based HE, uses a polynomial ring as building blocks, performance improvement of unit HE has been achieved by two kinds efforts. The first one through accelerating operations. However, it does not facilitate optimizations across such fusing second implementing highly optimized in amalgamated manner. written codes have superior performance, but they are hard to maintain. To resolve these challenges, we propose HEaaN.MLIR, compiler performs Also, Poly and ModArith, intermediate representations (IRs) for integer modulus arrays. HEaaN.MLIR motivated manual developers do. These include optimizing modular operations, loops, vectorizing instructions. can parse program consisting ModArith instructions generate high-performance, multithreaded machine code CPU. Our experiment shows compiled outperform heavily open-source commercial libraries up 3.06x single thread 4.55x multiple threads.
منابع مشابه
Optimizing relinearization in circuits for homomorphic encryption
Fully homomorphic encryption (FHE) allows an untrusted party to evaluate arithmetic circuits, i.e., perform additions and multiplications on encrypted data, without having the decryption key. One of the most efficient class of FHE schemes include BGV/FV schemes, which are based on the hardness of the RLWE problem. They share some common features: ciphertext sizes grow after each homomorphic mul...
متن کاملImproved Security for a Ring-Based Fully Homomorphic Encryption Scheme
In 1996, Hoffstein, Pipher and Silverman introduced an efficient lattice based encryption scheme dubbed NTRUEncrypt. Unfortunately, this scheme lacks a proof of security. However, in 2011, Stehlé and Steinfeld showed how to modify NTRUEncrypt to reduce security to standard problems in ideal lattices. In 2012, López-Alt, Tromer and Vaikuntanathan proposed a fully homomorphic scheme based on this...
متن کاملFully Homomorphic Encryption on Octonion Ring
In previous work I proposed a fully homomorphic encryption without bootstrapping which has the weak point in the enciphering function. In this paper I propose the improved fully homomorphic encryption scheme on non-associative octonion ring over finite field without bootstrapping technique. I improve the previous scheme by (1) adopting the enciphering function such that it is difficult to expre...
متن کاملWhich Ring Based Somewhat Homomorphic Encryption Scheme is Best?
The purpose of this paper is to compare side-by-side the NTRU and BGV schemes in their non-scale invariant (messages in the lower bits), and their scale invariant (message in the upper bits) forms. The scale invariant versions are often called the FV and YASHE schemes. As an additional optimization, we also investigate the affect of modulus reduction on the scale-invariant schemes. We compare t...
متن کاملRing Switching in BGV-Style Homomorphic Encryption
BGV-style homomorphic encryption schemes over polynomial rings, rely for their security on rings of very large dimension. This large dimension is needed because of the large modulus-to-noise ratio in the key-switching matrices that are used for the top few levels of the evaluated circuit. However, larger noise (and hence smaller modulus-to-noise ratio) is used in lower levels of the circuit, so...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: Proceedings of the ACM on programming languages
سال: 2023
ISSN: ['2475-1421']
DOI: https://doi.org/10.1145/3591228